package com.zlzlib.librxoknet.function;

import io.reactivex.rxjava3.functions.Function;
import okhttp3.ResponseBody;

/**
 * Created by zlz on 2019/8/14.
 */
public class StringFunction implements Function<ResponseBody, String> {

    @Override
    public String apply(ResponseBody s) throws Exception {
        return s.string();
    }

}
